package com.dnjn.happiness.biz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dnjn.happiness.biz.domain.UserContribution;

import java.util.List;
import java.util.Map;

/**
 * 贡献记录Service接口
 *
 * @author happiness
 * @date 2023-10-19
 */
public interface IUserContributionService extends IService<UserContribution> {

    Page<UserContribution> getPage(Page<UserContribution> page, Map<String, Object> map);

    List<UserContribution> getContributionList(Long userId);

    Double getContributionEvery(Long id);


}
